﻿@inherits BaseComponent
@if ( !HasCustomRegistration )
{
    @if ( To != null )
    {
        <Blazorise.Link Class="@ClassNames" Style="@StyleNames" To="@To" Title="@Title" Match="@Match">
            @ChildContent
        </Blazorise.Link>
    }
    else
    {
        <a class="@ClassNames" style="@StyleNames" title="@Title" @onclick="@ClickHandler" @attributes="@Attributes">
            @ChildContent
        </a>
    }
}
else
{
    @RenderCustomComponent()
}